package com.sync.syncmasterdata.customer.entity.bip;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 客户 id中间表
 */
@Data
@Entity
@Table(name = "XX_IDCONTRAST")
public class BipIdocnTrastForCustomerEntity {
    @Column(name = "BILL_TYPE")
    private String bill_type = "customer";
    @Column(name = "DR")
    private int dr=0;
    @Column(name = "FILE_ID")
    private String file_id;
    @Column(name = "PK_BILL")
    private String pk_bill;
    @Id
    @Column(name = "PK_IDCONTRA" ,length = 20, columnDefinition = "CHAR(20)")
    private String pk_idcontra;
    @Column(name = "SRCTYPE")
    private int srctype=1;
    @Column(name = "TS" ,length = 20, columnDefinition = "CHAR(19)")
    private String ts;

}
